package com.atguigu.service;

import com.atguigu.pojo.User;

public interface UserService {
    /**
     * @author VegetDog
     * @Description 登录
     * @date 2020-10-19 18:56 
     * @param user
     * @return com.atguigu.pojo.User
     */
    public User login(User user);
    /**
     * @author VegetDog
     * @Description 检测用户名是否存在
     * @date 2020-10-19 18:57
     * @param username
     * @return boolean 存在返回ture
     */
    public boolean existsUsername(String username);
    /**
     * @author VegetDog
     * @Description 用户注册
     * @date 2020-10-19 18:57
     * @param user
     * @return void
     */
    public void registUser(User user);
}
